export interface IQueryListParams {
	loanRepaymentMax?: string
	loanRepaymentMin?: string
	merchantId?: string
	pageNum: number
	pageSize: number
	proxyLevel?: number
	proxyList?: string[]
	proxyName?: string
	withdrawableMax?: string
	withdrawableMin?: string
	memberName?: string
}

export interface IResponseItem {
	acctName: string
	acctStatus: number
	acctType: number
	agencyPersonalIncome: number
	applyTime: string
	applyType: number
	betAmount: number
	betCount: number
	billNetAssets: number
	billNo: string
	billType: number
	clubRebateAmount: number
	createTime: string
	creditBalance: number
	creditQuota: number
	currency: string
	directlyMemberBetAmount: number
	directlyMemberBetCount: number
	directlyMemberNetAmount: number
	directlyMemberValidBetAmount: number
	endDate: number
	hasNext: number
	id: null | number
	insuranceRebateAmount: number
	memberDepositAmount: number
	memberLoan: number
	memberRebateAmount: number
	memberRepayment: number
	memberWithdrawAmount: number
	multipleRebateAmount: number
	multipleRebateAmountRate: number
	netAmount: number
	netAssets: number
	outsideAmount: number
	parentProxyName: null | string
	personRebateAmount: number
	proxyPathUserName: null | string
	rebateAmount: number
	returnLoan: number
	shouldRepay: number
	stDate: number
	teamCreditTotal: number
	teamFunds: number
	teamIncomeAmount: number
	teamRebateSharing: number
	teamReturnLoan: number
	teamWithdrawable: number
	topMerchantName: string
	topProxyName: string
	totalCreditAmount: number
	totalWithdrawAmount: number
	userId: string
	validBetAmount: number
	valueAddedTotalAmount: number
	version: number
	walletBalance: number
	windControlName: string
	withdrawable: number
}

export interface ISummaryResponse {
	subAgencyPersonalIncome: number
	subBetAmount: number
	subBetCount: number
	subBillNetAssets: number
	subClubRebateAmount: number
	subCreditBalance: number
	subCreditQuota: number
	subDirectlyMemberBetAmount: number
	subDirectlyMemberBetCount: number
	subDirectlyMemberNetAmount: number
	subDirectlyMemberValidBetAmount: number
	subInsuranceRebateAmount: number
	subMemberDepositAmount: number
	subMemberLoan: number
	subMemberRebateAmount: number
	subMemberRepayment: number
	subMemberWithdrawAmount: number
	subMultipleRebateAmount: number
	subMultipleRebateAmountRate: number
	subNetAmount: number
	subNetAssets: number
	subOutsideAmount: number
	subPersonRebateAmount: number
	subRebateAmount: number
	subReturnLoan: number
	subShouldRepay: number
	subTeamCreditTotal: number
	subTeamFunds: number
	subTeamIncomeAmount: number
	subTeamRebateSharing: number
	subTeamReturnLoan: number
	subTeamWithdrawable: number
	subTotalCreditAmount: number
	subTotalWithdrawAmount: number
	subValidBetAmount: number
	subValueAddedTotalAmount: number
	subWalletBalance: number
	subWithdrawable: number
	totalAgencyPersonalIncome: number
	totalBetAmount: number
	totalBetCount: number
	totalBillNetAssets: number
	totalClubRebateAmount: number
	totalCreditBalance: number
	totalCreditQuota: number
	totalDirectlyMemberBetAmount: number
	totalDirectlyMemberBetCount: number
	totalDirectlyMemberNetAmount: number
	totalDirectlyMemberValidBetAmount: number
	totalInsuranceRebateAmount: number
	totalMemberDepositAmount: number
	totalMemberLoan: number
	totalMemberRebateAmount: number
	totalMemberRepayment: number
	totalMemberWithdrawAmount: number
	totalMultipleRebateAmount: number
	totalMultipleRebateAmountRate: number
	totalNetAmount: number
	totalNetAssets: number
	totalOutsideAmount: number
	totalPersonRebateAmount: number
	totalRebateAmount: number
	totalReturnLoan: number
	totalShouldRepay: number
	totalTeamCreditTotal: number
	totalTeamFunds: number
	totalTeamIncomeAmount: number
	totalTeamRebateSharing: number
	totalTeamReturnLoan: number
	totalTeamWithdrawable: number
	totalTotalCreditAmount: number
	totalTotalWithdrawAmount: number
	totalValidBetAmount: number
	totalValueAddedTotalAmount: number
	totalWalletBalance: number
	totalWithdrawable: number
}

export interface IQueryItemDetailParams {
	billNo?: string
	isCompareLastBill: boolean
}

export interface ICurrentBillResponse {
	acctType: number
	activeMemberNum: string
	applyType: number
	betAmount: number
	betCount: number
	billId: string
	billType: number
	createdAt: string
	creditBalance: number
	creditQuota: number
	currency: string
	directlValueAddedAmount: number
	directlyActiveMemberNum: string
	directlyMemberBetAmount: number
	directlyMemberBetCount: number
	directlyMemberDepositAmount: number
	directlyMemberLoanAmount: number
	directlyMemberNetAmount: number
	directlyMemberRebateAmount: number
	directlyMemberRepaymentAmount: number
	directlyMemberValidBetAmount: number
	directlyMemberWithdrawAmount: number
	directlyNewMemberNum: string
	memberDepositAmount: number
	memberLoan: number
	memberRebateAmount: number
	memberRepayment: number
	memberWithdrawAmount: number
	merchantId: string
	netAmount: number
	netAssets: number
	netAssetsNew: number
	newMemberNum: string
	outsideAmount: number
	personIncomeAmount: number
	personRebateAmount: number
	rebateAmount: number
	reportDate: number
	reportDateTime: number
	reportEdDateStr: string | null
	reportEnDate: string
	reportEnDateTimestamp: string | null
	reportStDate: string
	reportStDateStr: string
	reportStDateTimestamp: string | null
	returnLoan: number
	shouldRepay: number
	teamCreditQuota: number
	teamCreditTotal: number
	teamFunds: number
	teamIncomeAmount: number
	teamReturnLoan: number
	teamWithdrawable: number
	totalCreditAmount: number
	totalWithdrawAmount: number | null
	userId: string
	userName: string
	validBetAmount: number
	valueAddedAmount: number
	valueAddedTotalAmount: number
	version: number
	walletBalance: number
	withdrawable: number
}

export interface ILastBillResponse {
	acctType: number
	activeMemberNum: string
	applyType: number
	betAmount: number
	betCount: number
	billId: string
	billType: number
	createdAt: string
	creditBalance: number
	creditQuota: number
	currency: string
	directlValueAddedAmount: number
	directlyActiveMemberNum: string
	directlyMemberBetAmount: number
	directlyMemberBetCount: number
	directlyMemberDepositAmount: number
	directlyMemberLoanAmount: number
	directlyMemberNetAmount: number
	directlyMemberRebateAmount: number
	directlyMemberRepaymentAmount: number
	directlyMemberValidBetAmount: number
	directlyMemberWithdrawAmount: number
	directlyNewMemberNum: string
	memberDepositAmount: number
	memberLoan: number
	memberRebateAmount: number
	memberRepayment: number
	memberWithdrawAmount: number
	merchantId: string
	netAmount: number
	netAssets: number
	netAssetsNew: number
	newMemberNum: string
	outsideAmount: number
	personIncomeAmount: number
	personRebateAmount: number
	rebateAmount: number
	reportDate: number
	reportDateTime: number
	reportEdDateStr: string | null
	reportEnDate: number | null
	reportEnDateTimestamp: string | null
	reportStDate: number | null
	reportStDateStr: string | null
	reportStDateTimestamp: string | null
	returnLoan: number
	shouldRepay: number
	teamCreditQuota: number
	teamCreditTotal: number
	teamFunds: number
	teamIncomeAmount: number
	teamReturnLoan: number
	teamWithdrawable: number
	totalCreditAmount: number
	totalWithdrawAmount: number | null
	userId: string
	userName: string
	validBetAmount: number
	valueAddedAmount: number
	valueAddedTotalAmount: number
	version: number
	walletBalance: number
	withdrawable: number
}

export interface IResponseItemDetail {
	currentBill: ICurrentBillResponse
	lastBill: ILastBillResponse
}
